<!DOCTYPE html>
<html class="no-js" lang="en" xmlns:v-on="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="utf-8">
    <title>模板</title>
    <meta name="description" content="">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <!--====== Favicon Icon ======-->
    <link rel="shortcut icon" href="assets/images/favicon.png" type="image/png">
    <!--====== Magnific Popup CSS ======-->
    <link rel="stylesheet" href="assets/css/magnific-popup.css">
    <!--====== Slick CSS ======-->
    <link rel="stylesheet" href="assets/css/slick.css">
    <!--====== Line Icons CSS ======-->
    <link rel="stylesheet" href="assets/css/LineIcons.css">
    <!--====== Bootstrap CSS ======-->
    <link rel="stylesheet" href="assets/css/bootstrap.min.css">
    <!--====== Default CSS ======-->
    <link rel="stylesheet" href="assets/css/default.css">
    <!--====== Style CSS ======-->
    <link rel="stylesheet" href="assets/css/style.css">
</head>
<body>

<!--====== 自定义代码开始 ======-->
<div class="container" >
    <!--====== 从这里开始 ======-->
    <div class="row" id="div_vue11">
        <div style="border-style: solid;border-color: deepskyblue;border-radius: 8px;position: fixed;top: 20%;left:0px;margin-left: 0px" class="col-sm-2 offset-md-10">
            <ul class="list-group" style=" text-decoration: none">
                <li class="list-group-item">用户：{{User}}</li>
                <li class="list-group-item"><a href="modify.html" class="badge badge-primary">用户信息修改</a></li>
                <li class="list-group-item"><a href="userlist.html" class="badge badge-primary">查看用户信息</a></li>
                <li class="list-group-item"><a href="articlelist.html" class="badge badge-primary">文章数据统计</a></li>
                <li class="list-group-item"><a href="notificationList.html" class="badge badge-primary">历史系统通知</a></li>
                <li class="list-group-item"><a href="comment.html" class="badge badge-primary">我的评论</a></li>
                <li class="list-group-item"><a href="personaudit.html" class="badge badge-primary">我的事务</a></li>
            </ul>
        </div>
    </div>


</div>

<!--====== 自定义代码结束 ======-->


<!--导入所有js文件-->
<!--====== Jquery js ======-->
<script src="assets/js/vendor/jquery-1.12.4.min.js"></script>
<script src="assets/js/vendor/modernizr-3.7.1.min.js"></script>
<!--====== Bootstrap js ======-->
<script src="assets/js/popper.min.js"></script>
<script src="assets/js/bootstrap.min.js"></script>
<!--====== Slick js ======-->
<script src="assets/js/slick.min.js"></script>
<!--====== Magnific Popup js ======-->
<script src="assets/js/jquery.magnific-popup.min.js"></script>
<!--====== Ajax Contact js ======-->
<script src="assets/js/ajax-contact.js"></script>
<!--====== Isotope js ======-->
<script src="assets/js/imagesloaded.pkgd.min.js"></script>
<script src="assets/js/isotope.pkgd.min.js"></script>
<!--====== Scrolling Nav js ======-->
<script src="assets/js/jquery.easing.min.js"></script>
<script src="assets/js/scrolling-nav.js"></script>
<!--====== Main js ======-->
<script src="assets/js/main.js"></script>
<!--======vue js ======-->
<script src="https://cdn.jsdelivr.net/npm/vue"></script>
<!--======HttpUtil js ======-->
</body>
</html>
<script type="text/javascript">
    let person=new Vue({
        el: '#div_vue11',
        data:{
            User: "",
            SumUnRead:""
        },
        methods:{
            refreshdbUser: function () {
                let url = "personal.do";
                let thisObj = this;
                //ajax请求
                doGet(url, function (resp) {
                    //返回的文章集合传给data
                    thisObj.User = resp;
                    userName = resp;
                })
            },
            UnReadNum: function () {
                let url = "commentShowInUnReadList.do";
                let thisObj = this;
                doGet(url, function (data) {
                    thisObj.SumUnRead=data.length;
                })
            }
        },
        mounted:function () {

            this.refreshdbUser();
            this.UnReadNum();
        },
    })
</script>